package cn.yinyu.queue.module.ecg.controller.admin.queue.vo;

import cn.yinyu.queue.module.ecg.dal.dataobject.patient.PatDetails;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Map;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 排队 Response VO")
@Data
@ExcelIgnoreUnannotated
public class QueueRespVO {

    @Schema(description = "id", example = "21320")
    @ExcelProperty("id")
    private Integer id;

    @Schema(description = "预约申请号", example = "2024435")
    @ExcelProperty("预约申请号")
    private String applyNo;

    @Schema(description = "就诊流水号", example = "2024435")
    @ExcelProperty("就诊流水号")
    private String episodeId;

    @Schema(description = "患者编号", example = "30473")
    @ExcelProperty("患者编号")
    private String patId;

    @Schema(description = "患者姓名", example = "嘉木")
    @ExcelProperty("患者姓名")
    private String patName;

    @Schema(description = "患者性别")
    @ExcelProperty("患者性别")
    private Byte patGender;

    @Schema(description = "患者详情")
    @ExcelProperty("患者详情")
    private PatDetails patDetails;

    @Schema(description = "预约日期")
    @ExcelProperty("预约日期")
    private LocalDate bookDate;

    @Schema(description = "预约时间段", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预约时间段")
    private Integer bookTimeslot;

    @Schema(description = "预约检查类型", example = "1")
    @ExcelProperty("预约检查类型")
    private Integer bookCheckType;

    @Schema(description = "预约序号")
    @ExcelProperty("预约序号")
    private Integer bookSeqNum;

    @Schema(description = "排队序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排队序号")
    private Integer seqNum;

    @Schema(description = "VIP")
    @ExcelProperty("VIP")
    private Integer isVip;

    @Schema(description = "5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ")
    private Integer status;

    @Schema(description = "过号标记", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("过号标记")
    private Byte passed;

    @Schema(description = "预约过期标记", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预约过期标记")
    private Byte expired;

    @Schema(description = "插队标记", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("插队标记")
    private Byte jumpFlag;

    @Schema(description = "诊室编号")
    @ExcelProperty("诊室编号")
    private Long roomId;

    @Schema(description = "诊室名称")
    @ExcelProperty("诊室名称")
    private String roomName;

    @Schema(description = "诊疗床编号")
    @ExcelProperty("诊疗床编号")
    private String bedNo;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}